package com.tangula.web.kashine.entity;







import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

import com.tangula.orm.jpa.AbstractJpaEntity;


/**
 * @author Tcheng
 *
 */
@Entity
@Table(name="t_account")
public class AccountEntity extends AbstractJpaEntity {
	
	private static final long serialVersionUID = -7459122920981920460L;
	@Id
	@GeneratedValue(generator = "system-uuid")
	@GenericGenerator(name = "system-uuid", strategy = "uuid2")
	@Column(name="id")
	private String id;
	@Column(name="accountDesc")
	private String accountDesc;
	@Column(name="email")
	private String email;
	@Column(name="password")
	private String password;
	@Column(name="name")
	private String name;
	@Column(name="cardName")
	private String cardName;
	@Column(name="cardNumber")
	private String cardNumber;
	@Column(name="cardMonth")
	private String cardMonth;
	@Column(name="cardYear")
	private String cardYear;
	@Column(name="cardCvcCode")
	private String cardCvcCode;
	@Column(name="isAcceptApprove")
	private String isAcceptApprove;
	@Column(name="parentOrgOfTeacher")
	private String parentOrgOfTeacher;
	@Column(name="image")
	private String image;
	@Column(name="block")
	private String block;
	@Column(name="type")
	private String type;
	@Column(name="money")
	private int money;
	public AccountEntity() {
		super();
	}

	

	public AccountEntity(String id, String accountDesc, String email, String password, String name, String cardName,
			String cardNumber, String cardMonth, String cardYear, String cardCvcCode, String isAcceptApprove,
			String parentOrgOfTeacher, String image, String block, String type, int money) {
		super();
		this.id = id;
		this.accountDesc = accountDesc;
		this.email = email;
		this.password = password;
		this.name = name;
		this.cardName = cardName;
		this.cardNumber = cardNumber;
		this.cardMonth = cardMonth;
		this.cardYear = cardYear;
		this.cardCvcCode = cardCvcCode;
		this.isAcceptApprove = isAcceptApprove;
		this.parentOrgOfTeacher = parentOrgOfTeacher;
		this.image = image;
		this.block = block;
		this.type = type;
		this.money = money;
	}



	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAccountDesc() {
		return accountDesc;
	}

	public void setAccountDesc(String accountDesc) {
		this.accountDesc = accountDesc;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCardName() {
		return cardName;
	}

	public void setCardName(String cardName) {
		this.cardName = cardName;
	}

	public String getCardNumber() {
		return cardNumber;
	}

	public void setCardNumber(String cardNumber) {
		this.cardNumber = cardNumber;
	}

	public String getCardMonth() {
		return cardMonth;
	}

	public void setCardMonth(String cardMonth) {
		this.cardMonth = cardMonth;
	}

	public String getCardYear() {
		return cardYear;
	}

	public void setCardYear(String cardYear) {
		this.cardYear = cardYear;
	}

	public String getCardCvcCode() {
		return cardCvcCode;
	}

	public void setCardCvcCode(String cardCvcCode) {
		this.cardCvcCode = cardCvcCode;
	}

	public String getIsAcceptApprove() {
		return isAcceptApprove;
	}

	public void setIsAcceptApprove(String isAcceptApprove) {
		this.isAcceptApprove = isAcceptApprove;
	}

	public String getParentOrgOfTeacher() {
		return parentOrgOfTeacher;
	}

	public void setParentOrgOfTeacher(String parentOrgOfTeacher) {
		this.parentOrgOfTeacher = parentOrgOfTeacher;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getBlock() {
		return block;
	}

	public void setBlock(String block) {
		this.block = block;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public int getMoney() {
		return money;
	}

	public void setMoney(int money) {
		this.money = money;
	}

	public void maskPassword() {
		
		
	}
	
	
}
